package org.jeecg.modules.qingxjXiaoxtx.entity;

import lombok.Data;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.constant.CommonConstant;

@Data
public class ResultPO<T> {

    private Integer data;
    private String message;

    public ResultPO() {

    }

    //0成功1用户不存在2失败3参数缺失
    public static ResultPO<Object> ok(Integer data,String message) {
        ResultPO<Object> r = new ResultPO();
        r.setData(data);
        r.setMessage(message);
        return r;
    }
}
